package br.com.upper.entity;

import br.com.upper.util.TestInstanceStatus;

public class TestInstance {
	
	private TestInstanceStatus currentStatus;
	private TestConfiguration testConfiguration;
	private InstanceType instanceType;
	private String currentLogTransaction;
	private String currentLogResources;
	private Boolean mainInstance;
	
	public TestInstance(TestConfiguration configuration, InstanceType instanceType, Boolean mainInstance) {
		this.currentStatus = new TestInstanceStatus();
		this.testConfiguration = configuration;
		this.instanceType = instanceType;
		this.mainInstance = mainInstance;
	}

	public TestInstanceStatus getCurrentStatus() {
		return currentStatus;
	}

	public TestConfiguration getTestConfiguration() {
		return testConfiguration;
	}

	public void setTestConfiguration(TestConfiguration testConfiguration) {
		this.testConfiguration = testConfiguration;
	}

	public String getCurrentLogTransaction() {
		return currentLogTransaction;
	}

	public void setCurrentLogTransaction(String currentLogTransaction) {
		this.currentLogTransaction = currentLogTransaction;
	}

	public String getCurrentLogResources() {
		return currentLogResources;
	}

	public void setCurrentLogResources(String currentLogResources) {
		this.currentLogResources = currentLogResources;
	}

	public Boolean getMainInstance() {
		return mainInstance;
	}

	public void setMainInstance(Boolean mainInstance) {
		this.mainInstance = mainInstance;
	}

	public void setCurrentStatus(TestInstanceStatus currentStatus) {
		this.currentStatus = currentStatus;
	}

	public InstanceType getInstanceType() {
		return instanceType;
	}

	public void setInstanceType(InstanceType instanceType) {
		this.instanceType = instanceType;
	}

}
